package com.tjlg.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author tjlg
 * @since 2022-03-22
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="WaTask对象", description="")
public class WaTask implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "巡逻任务表id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "用户id")
    private Integer userId;

    @ApiModelProperty(value = "路线id")
    private Integer lxId;

    @ApiModelProperty(value = "开始巡逻时间")
    private Date creatTime;

    @ApiModelProperty(value = "过期时间")
    private Date endTime;

    @ApiModelProperty(value = "任务状态")
    private String status;

    @TableField(exist = false)
    private WaUser waUser;

    @TableField(exist = false)
    private WaLx waLx;

}
